Skip to content

Use one time format for trip records and statistics - #20005

Open
M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-7889-format-trip-statistics-times
Open

M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-7889-format-trip-statistics-times

Conversation

@M-Colley

@M-Colley M-Colley commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

With --human-readable-time, write trip timestamps and intervals of at least one hour in magnitude using clock notation. Write shorter intervals in seconds. Use the same rule for individual vehicle, person, and container records and for console and XML trip statistics.

Accept the signed time-loss and waiting-time values that SUMO emits. The walking-stage waiting-time declaration also covers the format addressed by #19852.

Refs #7889.

Evidence

The expanded regression fails on upstream main for tripinfo XML, statistics XML, and console statistics. The patched build passed 83 focused TextTest cases and the simulation-output schema regression. Direct microscopic, mesoscopic, and mesoscopic LTM comparisons verified the one-hour boundary, nine trip record types, and byte-equivalent trip records with the flag disabled. Existing negative waiting-time fixtures also validate. The strict documentation build and six clock-formatted state filename controls passed.

Merge Danger

Consumers that enable the option may receive decimal seconds for short intervals and clock strings for longer statistics. The time value stays the same. Direct comparisons cover both formats.

@M-Colley
M-Colley force-pushed the codex/sumo-7889-format-trip-statistics-times branch from d32890d to 245af99 Compare December 3, 2026 19:21
@M-Colley M-Colley changed the title Format trip statistics with human-readable times Use one time format for trip records and statistics Dec 3, 2026
M-Colley and others added 3 commits December 5, 2026 04:13
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>


Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
@behrisch
behrisch force-pushed the codex/sumo-7889-format-trip-statistics-times branch from 245af99 to 727e3cb Compare December 5, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant